package com.hdu.cmn.client.guahao;

import com.hdu.hospital.vo.hosp.ScheduleOrderVo;
import com.hdu.hospital.vo.order.SignInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Repository
@FeignClient(value = "service-hosp")
public interface HospitalFeignClient {

    //远程调用接口，根据ia获得排班信息
    @GetMapping("/api/hosp/hospital/inner/getvo/{scheduleId}")
     public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);

    //远程调用获取医院签名信息
    @GetMapping("/api/hosp/hospital/inner/getSignInfoVo/{hoscode}")
    public SignInfoVo getSignInfoVo(@PathVariable("hoscode") String hoscode);
}
